Skip to content

Export types#21

Open
piotr-cz wants to merge 1 commit intojavierbyte:mainfrom
piotr-cz:patch-1
Open

Export types#21
piotr-cz wants to merge 1 commit intojavierbyte:mainfrom
piotr-cz:patch-1

Conversation

@piotr-cz
Copy link
Contributor

@piotr-cz piotr-cz commented Jan 29, 2024

Example usage:

import NumberEasing, { type NumberEasingProps } from 'react-number-easing'

const commonNumberEasingProps: Partial<NumberEasingProps> = {
  speed: 300,
  ease: 'sineInOut',
}

export const Fun() {
  <NumberEasing {...commonNumberEasingProps} value={123} />
}

@piotr-cz
Copy link
Contributor Author

By the way, there's no release with types yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant